package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.util.Date;

public class WxComplaintsMsg implements Serializable {
    /**
     * 主键
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 通知事件类型
     * COMPLAINT.CREATE 创建投诉
     * COMPLAINT.STATE_CHANGE 投诉状态变化
     * @mbg.generated
     */
    private String eventType;

    /**
     * 通知备注
     *
     * @mbg.generated
     */
    private String summary;

    /**
     * 通知消息状态 1.未处理 2.已处理
     *
     * @mbg.generated
     */
    private Integer status;

    /**
     * 支付订单号
     *
     * @mbg.generated
     */
    private String outTradeNo;

    /**
     * 投诉时间
     *
     * @mbg.generated
     */
    private Date complaintTime;

    /**
     * 订单金额（分）
     *
     * @mbg.generated
     */
    private Integer amount;

    /**
     * 投诉人电话
     *
     * @mbg.generated
     */
    private String payerPhone;

    /**
     * 投诉内容
     *
     * @mbg.generated
     */
    private String complaintDetail;

    /**
     * 投诉单号
     *
     * @mbg.generated
     */
    private String complaintId;

    /**
     * 投诉通知时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 通知内容
     *
     * @mbg.generated
     */
    private String complaintMsg;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEventType() {
        return eventType;
    }

    public void setEventType(String eventType) {
        this.eventType = eventType;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public Date getComplaintTime() {
        return complaintTime;
    }

    public void setComplaintTime(Date complaintTime) {
        this.complaintTime = complaintTime;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getPayerPhone() {
        return payerPhone;
    }

    public void setPayerPhone(String payerPhone) {
        this.payerPhone = payerPhone;
    }

    public String getComplaintDetail() {
        return complaintDetail;
    }

    public void setComplaintDetail(String complaintDetail) {
        this.complaintDetail = complaintDetail;
    }

    public String getComplaintId() {
        return complaintId;
    }

    public void setComplaintId(String complaintId) {
        this.complaintId = complaintId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getComplaintMsg() {
        return complaintMsg;
    }

    public void setComplaintMsg(String complaintMsg) {
        this.complaintMsg = complaintMsg;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", eventType=").append(eventType);
        sb.append(", summary=").append(summary);
        sb.append(", status=").append(status);
        sb.append(", outTradeNo=").append(outTradeNo);
        sb.append(", complaintTime=").append(complaintTime);
        sb.append(", amount=").append(amount);
        sb.append(", payerPhone=").append(payerPhone);
        sb.append(", complaintDetail=").append(complaintDetail);
        sb.append(", complaintId=").append(complaintId);
        sb.append(", createTime=").append(createTime);
        sb.append(", complaintMsg=").append(complaintMsg);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}